Multiple Aggregate Entry Points for Ownership Types
نویسندگان
چکیده
Deep ownership types gives a strong notion of aggregate by enforcing the so-called owners-as-dominators property: every path from a system root to an object must pass through its owner. Consequently, encapsulated aggregates must have a single bridge object that mediates all external interaction with its internal objects. In this paper, we present an extension of deep ownership that relaxes the single bridge object constraint and allows several bridge objects to collectively define an aggregate with a shared representation. We call such bridge objects ombudsmen to emphasise their benevolent nature; ombudsmen-sharing is explicit and all ombudsmen are created internal to the aggregate, purposely. The resulting system brings the aggregate notion close to the component notion found in e.g., UML by clearly separating aggregation from the stronger composition, and further allows expressing common programming patterns such as iterators without resorting to systems that give unclear or unprincipled guarantees, or require additional complex machinery such as read-only references.
منابع مشابه
Two Stage Multiple Attribute Decision Making Problem in Iranian Gas Distribution Systems
The purpose of this paper is to present the possibility of replacing physical unit cost in transportation or distribution problems by an aggregate coefficient, getting qualitative and subjective considerations involved. The model for constructing aggregate cost is a two stage multiple attribute decision-making problems. In the first stage supply points, demand points and routes of transportatio...
متن کاملMode of Entry and the Regional Distribution of Foreign Direct Investment in China
In this paper we re-examine the regional determinants of FDI in China using both total FDI flows, and FDI flows disaggregated by entry mode. Building on both the FDI location and entry mode choice literatures, we argue for the existence of mode-specific location advantages, and test for their existence. We first specify and estimate a location model of aggregate FDI flows to Chinese regions. Us...
متن کاملObject Ownership and Containment
Object-oriented programming relies on inter-object aliases to implement data structures and other abstractions. Objects have mutable state, but it is when mutable state interacts with aliasing that problems arise. Through aliasing an object’s state can be changed without the object being aware of the changes, potentially violating the object’s invariants. This problem is fundamentally unresolva...
متن کاملDocument De Treball Xreap2007-04 Cross-section Data, Disequilibrium Situations and Estimated Coefficients: Evidence from Car Ownership Demand
The objective of this paper is to analyse to what extent the use of cross-section data will distort the estimated elasticities for car ownership demand when the observed variables do not correspond to a state equilibrium for some individuals in the sample. Our proposal consists of approximating the equilibrium values of the observed variables by constructing a pseudo-panel data set which entail...
متن کاملCoordination and Learning Behavior in Large Groups with Asymmetric Players
We study a class of large-group, noncooperative, iterated market entry games with complete information, binary choices, and asymmetric players in which the incentive of each player to enter the market decreases the larger the number of entrants. Experimental results from two different studies show remarkable coordination on the aggregate level, which is accounted for successfully by the Nash eq...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2012